using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using DigitalFortress.Entities;
using System.ServiceModel;
using DigitalFortress.Configuration;
using DigitalFortress.Fault;

namespace DigitalFortress.Testing.Agent.AuthenticationOperations {
	[TestFixture]
	public class AuthenticationServicePingTest {
		#region Field
		AuthenticationAgent agent = null;
		#endregion Field

		/// <summary>
		/// Setups the test fixture.
		/// </summary>
		[TestFixtureSetUp]
		public void TestFixtureSetUp() {
			agent = new AuthenticationAgent(XmlConfiguration.Current);
		}

		[Test]
		public void AliveTest() {
			bool ping = agent.Ping();
			Assert.IsTrue(ping);
		}

	}
}
